package cn.iocoder.yudao.module.wms.controller.admin.distribution.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 配送分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class DistributionPageReqVO extends PageParam {

    @Schema(description = "客户地址")
    private String address;

    @Schema(description = "注意事项")
    private String care;

    @Schema(description = "驾驶员id", example = "19913")
    private String did;

    @Schema(description = "司机")
    private String driver;

    @Schema(description = "车牌号")
    private String number;

    @Schema(description = "客户电话")
    private String phone;

    @Schema(description = "配送状态：0等待审核、1正在运输、2配送完成", example = "1")
    private Integer status;

    @Schema(description = "预计送达时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] time;

    @Schema(description = "是否加急处理true/false")
    private Boolean urgent;

    @Schema(description = "车辆id", example = "827")
    private String vid;

}